﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="ImageGal.aspx.vb" Inherits="Final_Web_2._0_Site.ImageGal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        Coming Soon</p>
    <asp:Label ID="Label1" runat="server" Text="Select Image from"></asp:Label>
<br /> 
        <asp:FileUpload ID="ImageUpload" runat="server" />
<br /> 
<br /> 
    <asp:Label ID="Label2" runat="server" Text="Brief Description"></asp:Label>
<br /> 
        <asp:TextBox ID="txtdescription" runat="server" Height="119px" 
            TextMode="MultiLine" Width="214px"></asp:TextBox>
<br /> 
<br /> 
<br /> 
        <asp:Button ID="btnSubmit" runat="server" Text="Add" />

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="ImageLink" HeaderText="ImageLink" 
                SortExpression="ImageLink" />
            <asp:BoundField DataField="ImageDescription" HeaderText="ImageDescription" 
                SortExpression="ImageDescription" />
            <asp:BoundField DataField="DateUploaded" HeaderText="DateUploaded" 
                SortExpression="DateUploaded" />
            <asp:BoundField DataField="TimeUploaded" HeaderText="TimeUploaded" 
                SortExpression="TimeUploaded" />
            <asp:BoundField DataField="UserName" HeaderText="UserName" 
                SortExpression="UserName" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:Mercedes1ConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:Mercedes1ConnectionString.ProviderName %>" 
        
        SelectCommand="SELECT Images.ImageLink, Images.ImageDescription, Images.DateUploaded, Images.TimeUploaded, aspnet_Users.UserName FROM Images, aspnet_Users">
    </asp:SqlDataSource>
    <br />
    <br />

<br /> 

<br /> 


    </asp:Content>
